import request from '@/utils/request'

// 查询信息变更记录列表
export function listCustBaseChangeLog(query) {
    return request({
        url: '/business/CustBaseChangeLog/list',
        method: 'get',
        params: query
    })
}

// 查询信息变更记录详细
export function getCustBaseChangeLog(id) {
    return request({
        url: '/business/CustBaseChangeLog/' + id,
        method: 'get'
    })
}

// 新增信息变更记录
export function addCustBaseChangeLog(data) {
    return request({
        url: '/business/CustBaseChangeLog',
        method: 'post',
        data: data
    })
}

// 修改信息变更记录
export function updateCustBaseChangeLog(data) {
    return request({
        url: '/business/CustBaseChangeLog',
        method: 'put',
        data: data
    })
}

// 删除信息变更记录
export function delCustBaseChangeLog(id) {
    return request({
        url: '/business/CustBaseChangeLog/' + id,
        method: 'delete'
    })
}

// 导出信息变更记录
export function exportCustBaseChangeLog(query) {
    return request({
        url: '/business/CustBaseChangeLog/export',
        method: 'get',
        params: query
    })
}